<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><%= content_for?(:title) ? yield(:title) : "Freedoor ADJS" %></title>
  <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Freedoor Node by ADJS" %>">
  <%= stylesheet_link_tag "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
  <%= yield(:head) %>
</head>
  <body class="<%= controller_name %> <%= action_name %>">
    <header class="navbar navbar-fixed-top">
      <nav class="navbar-inner">
        <div class="container">
          <!--<%= render 'layouts/navigation' %>-->
		  <ul class="hmenu">
			<%= render 'shared/navigation' %>
		  </ul>
		  <% flash.each do |name, msg| %>
			<% if msg.is_a?(String) %>
			  <%= content_tag :div, msg, :id => "flash_#{name}" %>
			<% end %>
		  <% end %>
		<%= yield %>
        </div>
      </nav>
    </header>
    <div id="main" role="main">
      <div class="container">
        <div class="content">
           <div class="row">
            <div class="span12">
              <%= render 'layouts/messages' %>
              <%= yield %>
            </div>
          </div>
          <footer>
          </footer>
        </div>
      </div> <!--! end of .container -->
    </div> <!--! end of #main -->
  </body>
</html>
